home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / grapprog / splt300w.zip / HPGL2.TXT < prev    next >
Text File  |  1996-11-13  |  11KB  |  223 lines

  1.  
  2.            S P L O T  -  The Pen Plotter Simulator V3.0 for Win32
  3.            ------------------------------------------------------
  4.                    Copyright (C) 1991-96 by Alexandr NOVY
  5.                              All rights reserved.
  6.  
  7.                                November 1996
  8.  
  9.  
  10.                                  HPGL2.TXT
  11.  
  12.         This file contains  some reference information  about HP-GL/2
  13.         support provided by the SPLOT program.
  14.  
  15.         The 32-bit version of the SPLOT  program supports HP-GL/2 pen
  16.         plotters and HP-GL/2 raster devices.
  17.  
  18.         The implemented support of the HP-GL/2 language is based on
  19.         "The HP-GL/2 and HP RTL Reference Guide - A Handbook for 
  20.         Program Developers", Hewlett Packard 2nd edition,
  21.         September 1996.
  22.  
  23.  
  24.         1) Important parameters:
  25.         ========================
  26.         Number of pens: user defined up to 256.
  27.         For pen plotters the number of pens is physical number of
  28.         pens in carousel.
  29.         For pen plotters the following modulo function is used for
  30.         pen numbers greater than number of pens (np):
  31.                         pn = ( (pn-1) mod np ) + 1
  32.         For raster devices the number of pens is maximum number of
  33.         logical pens, the actual number of logical pens is defined
  34.         by NP instruction and its default value is 8 for color
  35.         raster devices and 2 for monochrome raster devices. However
  36.         only color raster devices are supported now.
  37.         For raster devices the following modulo function is used for
  38.         pen numbers greater or equal to current number of pens (np):
  39.                         pn = ( (pn-1) mod (np-1) ) + 1
  40.         Note that for raster devices the pens are numbered from zero
  41.         and pen number 0 is valid pen. However it is usually white
  42.         colored and all white pens are not used when the transparency
  43.         mode is on (default state) (see TR instruction).
  44.         For pen plotters the pen number 0 causes storing of a current
  45.         pen to carousel and no pen is used.
  46.  
  47.         Paper size: user definable (see the PAPERS.TXT file)
  48.                     or defined by the PS instruction
  49.  
  50.         Plotter unit: 0.025 mm
  51.  
  52.         Maximal number of digits in decimal fraction to be read: 8
  53.  
  54.         Supported character fonts (typefaces):
  55.          The present version of the HP-GL/2 interpreter supports only
  56.         the  stick  fonts  (characters  are  drawn  as  a  series  of
  57.         vectors). The scalable outline fonts or bitmap fonts are  not
  58.         supported. Note that not all HP-GL/2 devices support  outline
  59.         or bitmap fonts, but all HP-GL/2 devices support stick fonts.
  60.          From stick fonts only fixed-vector font (typeface number 48)
  61.         and drafting  font (typeface  number 49)  are supported.  The
  62.         variable spacing fonts are not supported yet. Also the  fixed
  63.         arc font is not supported yet. Note that the drafting font is
  64.         for use  with the  HP Drafting  character set  (character set
  65.         number 563).
  66.  
  67.         Supported character sets:
  68.          The present version of the HP-GL/2 interpreter supports only
  69.         these character sets:
  70.         --------------------------------------------------------------
  71.          Character |                                     |
  72.          Set Value |            Description              | ISO Number
  73.         --------------------------------------------------------------
  74.             0      | Roman8 (default)                    |    --
  75.           277      | Roman8 (default)                    |    --
  76.            21      | ANSI US ASCII                       |     6
  77.           531      | HP-GL Download                      |    --
  78.           563      | HP-GL Drafting                      |    --
  79.           595      | HP-GL Special Symbols               |    --
  80.            11      | JIS ASCII                           |    14
  81.            85      | ISO International Reference Version |     2
  82.           115      | ISO Swedish                         |    10
  83.            19      | ISO Swedish for Names               |    11
  84.             4      | ISO Norway v1                       |    60
  85.            36      | ISO Norway v2                       |    61
  86.            39      | ISO German                          |    21
  87.             6      | ISO French v1                       |    25
  88.            37      | ISO United Kingdom                  |     4
  89.             9      | ISO Italian                         |    15
  90.            83      | ISO Spanish                         |    17
  91.           147      | ISO Portuguese                      |    16
  92.             7      | HP German                           |    --
  93.           275      | HP Latin Spanish                    |    --
  94.             5      | Roman Extensions                    |    --
  95.            43      | Katakana                            |    --
  96.  
  97.  
  98.         2) Alphabetical list of HP-GL/2 instructions that are fully
  99.            supported by the SPLOT program:
  100.         ===========================================================
  101.          AA  - The Arc Absolute Instruction
  102.          AR  - The Arc Relative Instruction
  103.          AT  - The Absolute Arc Three Point Instruction
  104.          CI  - The Circle Instruction
  105.          CO  - The Comment Instruction
  106.          CP  - The Character Plot Instruction
  107.          CR  - The Set Color Range for Relative Color Data
  108.                (for raster devices only)
  109.          CT  - The Chord Tolerance Mode Instruction
  110.          DF  - The Default Values Instruction
  111.          DI  - The Absolute Direction Instruction
  112.          DL  - The Download Character Instruction
  113.          DR  - The Relative Direction Instruction
  114.          DT  - The Define Label Terminator Instruction
  115.          DV  - The Define Variable Text Path Instruction
  116.          EA  - The Edge Rectangle Absolute Instruction
  117.          EP  - The Edge Polygon Instruction
  118.          ER  - The Edge Rectangle Relative Instruction
  119.          ES  - The Extra Space Instruction
  120.          EW  - The Edge Wedge Instruction
  121.          FP  - The Fill Polygon Instruction
  122.                However the optional non-zero winding fill method
  123.                is supported only for solid fills.
  124.          IN  - The Initialize Instruction
  125.          IP  - The Input P1 and P2 Instruction
  126.          IR  - The Input Relative P1 and P2 Instruction
  127.          IW  - The Input Window Instruction
  128.          LB  - The Label Instruction
  129.          LO  - The Label Origin Instruction
  130.          LT  - The Line Type Instruction
  131.          MG  - The Message Instruction
  132.                Writes a message to the SPLOT Event Log window.
  133.          NP  - The Number of Pens Instruction 
  134.                (for raster devices only)
  135.          PA  - The Plot Absolute Instruction
  136.          PC  - The Pen Color Assignment Instruction
  137.                (for raster devices only)
  138.          PD  - The Pen Down Instruction
  139.          PE  - The Polyline Encoded Instruction
  140.          PM  - The Polygon Mode Instruction
  141.          PR  - The Plot Relative Instruction
  142.          PS  - The Plot Size Instruction
  143.          PU  - The Pen Up Instruction
  144.          PW  - The Pen Width Instruction
  145.          RA  - The Fill Rectangle Absolute Instruction
  146.          RO  - The Rotate Coordinate System Instruction
  147.          RR  - The Fill Rectangle Relative Instruction
  148.          RT  - The Relative Arc Three Point Instruction
  149.          SA  - The Select Alternate Font Instruction
  150.          SC  - The Scale Instruction
  151.          SI  - The Absolute Character Size Instruction
  152.          SL  - The Character Slant Instruction
  153.          SM  - The Symbol Mode Instruction
  154.          SP  - The Select Pen Instruction
  155.          SR  - The Relative Character Size Instruction
  156.          SS  - The Select Standard Font Instruction
  157.          TR  - The Transparency Mode Instruction
  158.                (for raster devices only)
  159.          UL  - The User-Defined Line Type Instruction
  160.          VS  - The Velocity Select Instruction (for information only)
  161.          WG  - The Fill Wedge Instruction
  162.          WU  - The Pen Width Unit Selection Instruction
  163.  
  164.  
  165.         3) Alphabetical list of HP-GL/2 instructions that are
  166.            partially supported by the SPLOT program (they may
  167.            be fully supported in next SPLOT versions):
  168.         ======================================================
  169.          AD  - The Alternate Font Definition Instruction
  170.                Only the character set attribute is supported.
  171.                All other attributes are ignored.
  172.                The character size (pitch and height attributes)
  173.                should be specified by the SI or SR instruction.
  174.                The stroke weight attribute is always considered
  175.                to be 9999 (the characters are drawn in the current
  176.                pen width).
  177.                The typeface is always considered to be 48 (stick
  178.                font) except for character set number 563 (HP-GL
  179.                Drafting).
  180.          BP  - The Begin Plot Instruction
  181.                Only the initialization (IN) part is supported.
  182.          FT  - The Fill Type Instruction
  183.                Only the fill types 1,2,3,4 are supported.
  184.          SD  - The Standard Font Definition Instruction
  185.                See the AD instruction.
  186.          TD  - The Transparent Data Instruction
  187.                When transparent data mode is enabled, SPLOT 
  188.                prints all control characters as spaces.
  189.  
  190.  
  191.         4) Alphabetical list of HP-GL/2 instructions that are not
  192.            supported by the SPLOT program:
  193.         =========================================================
  194.          - All Dual-Context Extension instruction.
  195.          - All output instructions:
  196.             OD, OE, OH, OI, OP and OS.
  197.          - And these:
  198.            AC  - The Anchor Corner Instruction *
  199.            BR  - The Bezier Relative Instruction *
  200.            BZ  - The Bezier Absolute Instruction *
  201.            CF  - The Character Fill Mode Instruction
  202.            DC  - The Digitize Clear Instruction
  203.            DP  - The Digitize Point Instruction
  204.            EC  - The Enable Cutter Instruction
  205.            FR  - The Frame Advance Instruction *
  206.            LA  - The Line Attributes Instruction *
  207.                  Only round line ends and line joins
  208.                  are supported yet.
  209.            LM  - The Label Mode Instructrion *
  210.            MC  - The Merge Control Instruction
  211.            MT  - The Media Type Instruction
  212.            NR  - The Not Ready Instruction
  213.            PG  - The Advance Full Page Instruction *
  214.            PP  - The Pixel Placement Instruction
  215.            QL  - The Quality Level Instruction
  216.            RF  - The Raster Fill Definition *
  217.            RP  - The Replot Instruction
  218.            ST  - The Sort Instruction
  219.            SV  - The Screened Vectors Instruction
  220.  
  221.                  * - may be supported in next SPLOT versions
  222.  
  223.